package com.souku.finance.application.widget;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.TextView;

/**
 * Created by Android on 2016/12/24.
 */

public class MyTextView extends TextView{

    private Context context;
    public MyTextView(Context context) {
        super(context);
    }

    public MyTextView(Context context, AttributeSet attrs) {
        super(context, attrs);
        this.context=context;
        setType();
    }

    public MyTextView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }
    private void setType() {
//        Typeface fontFace = Typeface.createFromAsset(context.getAssets(),
//                "DINCond-Regular.otf");
//        this.setTypeface(fontFace);
    }
}
